import { CSSProperties, FC } from "react";
import styles from "./index.module.less";

interface ICardTitleProps {
  title: string;
  style?: CSSProperties;
}

const CardTitle: FC<ICardTitleProps> = (props: ICardTitleProps) => {
  return (
    <div style={props.style} className={styles["card-title"]}>
      {props.title}
    </div>
  );
};

export default CardTitle;
